#include <iostream>
#include <cstdio>

using namespace std;

typedef long long ll;
int main()
{
    ll l = 1032;
    ll d = 234;
    ll r = 12302135942453;
    ll p = l;
    ll sum = 0;
    while (p % d == 0)
    {
        p++;
    }
    r = r - p;
    sum = r / d;
    cout << sum + 1;
}